<?php

namespace app\common\validate\xyb;
use \think\Validate;

class Bank extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'name|姓名'=>'require',
        'cardNo|银行卡号'=>'require',
        'openBankNm|开户行名称'=>'require',
    ];
    /**
     * 提示消息
     */
    protected $message = [


    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [
            'name',
            'cardNo',
            'openBankNm',
        ],
        'edit'  => [
            'name',
            'cardNo',
            'openBankNm',
        ],
    ];



}